package com.example.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Builder;
import lombok.Data;

import java.sql.Time;
import java.util.Date;

@Builder
@Data
public class Emp {
    private Integer empno;
    private String ename;
    private String job;
    private Integer mgr;
    @JsonFormat(pattern = "YYYY-MM-dd")
    private Date hiredate;
    private Float sal;
    private Float comm;
    private Integer deptno;
}
